
/*
Theme Name: TCW-Main
Theme URI: http://www.tomwhitman.co.uk/
Description: Designed specifically for Wellfare Builders 2011
Author: Thomas Charles Whitman
Author URI: http://www.tomwhitman.co.uk/
Version: 1.0
.
General comments/License Statement if any.
.
*/




/* CSS reset with box-sizing fix */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
 margin:0;
 padding:0;
 border:0;
 font-size:100%;
 font:inherit;
 vertical-align:baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
 display:block;
}
html {
 box-sizing:border-box;
}
*, *:before, *:after {
 box-sizing:inherit;
}
body {
 line-height:1;
}
ol, ul {
 list-style:none;
}
blockquote, q {
 quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
 content:'';
 content:none;
}
table {
 border-collapse:collapse;
 border-spacing:0;
}


/* ================== CSS :RESET ================== */


/*
Theme Name:TCW-Main
Theme URI:http://www.tomwhitman.co.uk/
Description:Designed specifically for Wellfare Builders 2011
Author:Thomas Charles Whitman
Author URI:http://www.tomwhitman.co.uk/
Version:1.0
.
General comments/License Statement if any.
.
*/



html,
body {
  margin:0;
  padding:0;
  height:100%;
}

html {font-family:'Roboto Condensed', sans-serif;}

h1 {font-size:40px !important; margin-bottom:30px;}
h2 {font-size:24px; margin-bottom:10px;}
h3 {font-size:24px; margin-bottom:10px;}
p {margin-bottom:20px;}
b {font-weight:900;}

hr {margin:50px 0;}

.clearfix:after, content:after, section:after {
  content:"";
  display:table;
  clear:both;
}

ul#nav {
  font-size:18px;
  margin:0;
  padding:0;
  list-style:none;
}
ul#nav li {
  display:block;
  position:relative;
  float:left;
}
ul#nav li ul {display:none;}
ul#nav li a {
  display:block;
  text-decoration:none;
  color:#FFF;
  border-top:1px solid #FFF;
  padding:5px 7px 5px 7px;
  background:#D00;
  margin-left:1px;
  white-space:nowrap;
}

ul#nav li:hover ul {
  display:block;
  position:absolute;
  z-index:999;
}

ul#nav li:hover li {
  float:none;
  font-size:12px;
}
ul#nav li:hover a {color:#D00; background:#FFF;}
ul#nav li:hover li a:hover {background:#D00;}




a:link, a:visited {color:#D00; font-style:normal; font-weight:normal; text-decoration:none;}
a:hover, a:active {color:#666; font-style:normal; font-weight:normal; text-decoration:none;}







#wrapper {min-height:100%; position:relative;}

header {padding:10px; position:relative; display:block; width:990px; height:100px; margin:0 auto; margin-bottom:70px;}
content {padding-bottom:300px; /* Height of the footer element */}
footer {position:relative; width:100%; margin-top:50px; border-top:2px solid #CCC;}

.footer-bottom { background:#333;
color:#999;
width:100%;
height:80px;
position:relative;
margin-top: 10px;
border-top:#CC0000 solid 3px;
padding-top:20px;
font-size:12px;
line-height: 18px;}

.footer-top {position:relative; width:990px; margin:auto; margin-top:20px; padding:2px 20px 10px 20px; color:#999; font-size:10px; text-align:center; line-height:20px;}



.logo {position:absolute; left:0px; top:10px;}
.header-contact {position:absolute; right:0px; top:5px; font-size:22px; color:#999; text-align:right; line-height:25px;}

.nav-wrap {position:absolute; right:0px; bottom:0px;}
.front-lifestyle {position:relative; display:block; width:990px; height:300px; margin:0 auto; margin-top:-50px; border-top-left-radius:0px; background-image:url(/images/front/slide-1.jpg);}

#services {position:absolute; top:20px; left:25px; color:#FFF;}
#services ul li {font-size:18px; padding:3px 0;}



.block-wrap {position:relative; display:block; width:990px; margin:0 auto; background-color:#CCC; border-top:2px solid #FFF; text-align:center; padding:20px;}
.block-box {position:relative; display:inline-block; width:300px; height:120px;}

.block-box.box1 {background-color:#000; color:gold; border:gold 2px solid; padding:20px 10px; vertical-align:bottom; line-height:20px;}
.block-box.box1 .free {color:#D00; font-weight:bold;}
.block-box.box2 {margin:0 20px; padding:20px; background-color:#FFF; color:#D00; border:#CCC 2px solid; vertical-align:bottom; font-size:20px}
.block-box.box3 {border:#CCC 2px solid; vertical-align:bottom;  background-image:url(/images/front/previous-projects.jpg); background-position: center -100px; background-size: cover;}
.block-box.box3 .text {width:100%; color:#FFF; position:absolute; bottom:10px; text-align:center; font-size:22px;}


.block-box.box1:hover {background-color:#333;}
.block-box.box2:hover {color:#F00;}
.block-box.box3:hover {opacity: 0.8;}


.quote-l {position:absolute; top:10px; left:10px; font-size:40px;}
.quote-r {position:absolute; bottom:18px; right:55px; font-size:40px;}

span.quote {opacity: 1; font-family:'Shadows Into Light Two', cursive;}

div.quote-credit {margin-top:15px; color:#999; font-size:10px;}



section {position:relative; display:block; width:990px; margin:0 auto; margin-top:50px; font-size:16px; line-height:20px;}
section .col-left, section .text-left {float:left; width:445px; margin-right:100px;}
section .col-right {margin-right:0px;}

section .col-right, section .col-left {padding-top:20px;}



#tcw {position:absolute; right:20px; bottom:15px; font-size:10px;}
#tcw a:link, #tcw a:visited {color:#666; font-style:normal; font-weight:normal; text-decoration:none;}
#tcw a:hover, #tcw a:active {color:#D00; font-style:normal; font-weight:normal; text-decoration:none;}

#copyright {position:absolute; left:20px; bottom:15px;}



.light {color:#CCC;}




.flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
justify-content: space-between;
    width: 990px;
}

.flex-item {
    width: 215px;
    height: 108px;

}

.flex-item .text {
  position: absolute;
  bottom:0px;
  padding:5px 0;
  width:215px;
  background-color: rgba(255,255,255,0.6);
  color:#000;
  font-size:18px;
  text-align:center;
}

.extensions {background-image: url(/images/services/extensions.jpg);}
.loft-conversions {background-image: url(/images/services/loft_conversions.jpg);}
.garages {background-image: url(/images/services/garages.jpg);}
.brick-work {background-image: url(/images/services/brick_work.jpg);}

.internal-alterations {background-image: url(/images/services/internal_alterations.jpg);}
.routine-maintenance {background-image: url(/images/services/routine_maintenance.jpg);}
.upvc {background-image: url(/images/services/upvc.jpg);}
.chimney {background-image: url(/images/services/chimney.jpg);}

.woodburner {background-image: url(/images/services/woodburner.jpg);}
.astro-turf {background-image: url(/images/services/astro_turf.jpg);}
.hard-landscaping {background-image: url(/images/services/hard_landscaping.jpg);}
.kitchens {background-image: url(/images/services/kitchens.jpg);}



/* form style */
.form-style{
	max-width: 450px;
	padding: 40px 30px 40px 0px;
	background: #FFFFFF;
	border-radius: 5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
}
.form-style-heading{
    font-weight: bold;
    font-style: italic;
    border-bottom: 2px solid #ddd;
    margin-bottom: 10px;
    font-size: 15px;
    padding-bottom: 3px;
}
.form-style label{
    display: block;
    margin: 0px 0px 15px 0px;
}
.form-style label > span{
    width: 100px;
    font-weight: bold;
    float: left;
    padding-top: 8px;
    padding-right: 5px;
}
.form-style span.required{
    color:red;
}
.form-style .tel-number-field{
    width: 40px;
    text-align: center;
}
.form-style  .long{
    width: 120px;
}
.form-style input.input-field{
    width: 48%;
   
}

.form-style input.input-field,
.form-style .tel-number-field,
.form-style .textarea-field,
 .form-style .select-field{
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out; 
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 1px solid #C2C2C2;
    box-shadow: 1px 1px 4px #EBEBEB;
    -moz-box-shadow: 1px 1px 4px #EBEBEB;
    -webkit-box-shadow: 1px 1px 4px #EBEBEB;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 7px;
    outline: none;
}
.form-style .input-field:focus,
.form-style .tel-number-field:focus,
.form-style .textarea-field:focus,  
.form-style .select-field:focus{
    border: 1px solid #0C0;
}
.form-style .textarea-field{
    height:100px;
    width: 55%;
}
.form-style input[type="button"],
.form-style input[type="submit"] {
    -moz-box-shadow: inset 0px 1px 0px 0px #ffd800;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffd800;
    box-shadow: inset 0px 1px 0px 0px #ffd800;
    background-color: #ffc600;
    border: 1px solid #ffd800;
    display: inline-block;
    cursor: pointer;
    color: #D00;
    padding: 8px 18px;
    text-decoration: none;
}
.form-style input[type="button"]:hover,
.form-style input[type="submit"]:hover {
    background: linear-gradient(to bottom, #ffd800 5%, #ffc600 100%);
    background-color:#ffc600;
}
.form-style .success{
	background: #D8FFC0;
	padding: 5px 10px 5px 10px;
	margin: 0px 0px 5px 0px;
	border: none;
	font-weight: bold;
	color: #2E6800;
	border-left: 3px solid #2E6800;
}
.form-style .error {
	background: #FFE8E8;
	padding: 5px 10px 5px 10px;
	margin: 0px 0px 5px 0px;
	border: none;
	font-weight: bold;
	color: #FF0000;
	border-left: 3px solid #FF0000;
}