﻿/*
Theme Name: 
Theme URI: 
Description: Theme developed for David Hand Smash Repairs

Version: 1.0
*/

/* ============================== */
/* ! Typography   */
/* ============================== */

body
{
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6{
    font-family: Impact, Charcoal, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

h1
{
	color: #900;
	font-size: 1.8em;
	line-height: 1em;
	text-align: left;
}

h2
{
    margin: 1em 0 .3em 0;
}

h3
{
    font-size: 1.5em;
    letter-spacing: .1em;
    margin: 1em 0 .3em 0;
}

p
{
    line-height: 1.5em;
    margin: .5em 0 .5em 0;
}

/* ============================== */
/* ! Specific Typography   */
/* ============================== */

#content ol
{
    padding-left: 20px;
    margin: 20px 0;
}

#content ol li
{
    margin-bottom: 10px;
}

.menu-header a
{
	border-left: 1px solid #403c39;
	color: #ffffff;
	display: block;
	font-size: 0.8em;
	font-weight: bold;
	padding: 20px 20px;
	text-decoration: none;
}

nav.menu-header #menu-main-menu > li:last-child a
{
    border-right: 1px solid #BA2A31;
}

.menu-header a:hover
{
	background-color: #BA2A31;
}

.menu-header .current-menu-item a
{
	background: #ba2a31;
	color: #ffffff;
	filter: 50%;
}

#main-footer h3, #main-footer p {
    color: #fff;
}

.footer-col1 p {
    font-weight: bold;
}

a[href$=".pdf"]
{
    background: #444 url(../images/pdf.png) 10px 45% no-repeat;
    border: 1px solid #bbb;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    padding: 10px 15px 10px 38px;
    text-decoration: none;
}

a[href$=".pdf"]:hover
{
    background-color: #BA2A31;
}

a.button
{
	background: #ba2a31;
	border-radius: 3px;
	-ms-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0px 1px 1px rgba(0,0,0,.8),0 0 6px rgba(0,0,0,.8),inset 0 0 5px rgba(255,255,255,.6);
	-ms-box-shadow: 0 1px 1px rgba(0,0,0,.8), 0 0 6px rgba(0,0,0,.8), inset 0 0 5px rgba(255,255,255,.6);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.8), 0 0 6px rgba(0,0,0,.8), inset 0 0 5px rgba(255,255,255,.6);
	-o-box-shadow: 0 1px 1px rgba(0,0,0,.8), 0 0 6px rgba(0,0,0,.8), inset 0 0 5px rgba(255,255,255,.6);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.8), 0 0 6px rgba(0,0,0,.8), inset 0 0 5px rgba(255,255,255,.6);
	color: #fff;
	display: inline-block;
	font-size: 1.3em;
	font-weight: bold;
	margin: 10px 0;
	padding: 10px 20px;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0,0,0,.8);
	background: rgb(0,173,66); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(186,42,49,11) 0%, rgba(186,42,49,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,42,49,11)), color-stop(100%,rgba(186,42,49,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(186,42,49,11) 0%,rgba(186,42,49,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(186,42,49,1) 0%,rgba(186,42,49,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(186,42,49,1) 0%,rgba(186,42,49,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(186,42,49,1) 0%,rgba(186,42,49,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ad42', endColorstr='#117f36',GradientType=0 ); /* IE6-9 */
}

/* ============================== */
/* ! Forms   */
/* ============================== */

input[type="text"],
input[type="email"],
input[type="password"],
textarea
{
    border:1px solid rgba(0,0,0,.5);
    box-shadow: inset 0 2px 1px rgba(0,0,0,.1);
    font-size: 1em!important;
    padding: .5em!important;
}

select
{
    font-size: 1em!important;
}

#field_1_1
{
    min-width: 200px;
}

.ie7 #field_1_1
{
    width: 100%;
}

.ie7 #field_1_3, .ie7 #field_1_5 {
    clear: left!important;
    float: left!important;
    margin-right: 12px;
}

.ie7 #field_1_11, .ie7 #field_1_4 {
    clear: right!important;
    float: none!important;
}

#field_1_8,
#field_1_9
{
    margin-top: 25px;
}

#input_1_13
{
    margin-top: 27px;
}

#field_1_12
{
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.5);
    margin: 10px 0 0 0;
    padding: 9px 20px 0 20px;
    width: 319px;
}

.gform_footer
{
    clear:none!important;
}

.gform_footer input[type="submit"]
{
    border:none;
    background-image: -webkit-linear-gradient(#a7ff00 0%, #51c31b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa7ff00', endColorstr='#ff51c31b'); /* for IE */
    background: -moz-linear-gradient(top, #a7ff00, #51c31b); /* for firefox 3.6+ */
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,.8);
    color: #fff;
    cursor: pointer;
    float:right;
    margin: 0;
    padding: 10px!important;
    text-shadow: 0 1px 1px rgba(0,0,0,.5);
}

.gform_footer input[type="submit"]:hover
{
    box-shadow: inset 0 0 3px 2px rgba(255,255,255,.4), 0 1px 1px rgba(0,0,0,.8);
}

.gform_footer input[type="submit"]:active
{
    box-shadow: inset 0 0 3px 2px rgba(255,255,255,.4);
    margin-top: 1px;
}

#gforms_confirmation_message
{
    font-size: 3em;
    font-weight: bold;
}

/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

html, body, #wrapper { height: 100%; }

body {
    /*background: #BA2A31 url(../images/home.jpg) no-repeat fixed top left;
    background-size: 100% auto;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/home.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/home.jpg', sizingMethod='scale')";*/
}

/*body.page-id-25
{
    background-image: url(../imagescontact.jpg);
}

body.page-id-9
{
    background-image: url(../images/quotation.jpg);
}

body.page-id-15
{
    background-image: url(../imagesServices.jpg);
}

body.page-id-23
{
    background-image: url(../images/case_studies.jpg);
    background-position: center center;
}*/

body > #wrapper { height: auto; min-height: 100%; }

img#bg {
    visibility:visible;
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

#main-header {
    background: #000000;
    position: relative;
    z-index: 200;
}

#main-header #branding
{
    display: block;
    margin-top: 9px;
}

nav.menu-header-mobile
{
    display: none;
}

nav.menu-header #menu-main-menu {
    float:right;
    list-style: none;
}

nav.menu-header #menu-main-menu > li {
    float:left;
}

#content
{
    margin: 150px 0 0 0;
    min-height: 100%;
    position: relative;
    z-index: 200;
    overflow: auto;
    padding: 0 0 190px 0;
}

#content .content-bg {
    background-color: rgba(255,255,255,.6);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff)";
    padding: 20px 0 110px 0;
    overflow:auto;
}

/*body #wrapper .row {
	position:relative;
	z-index: 600;
}*/

#main-footer {
    /*background-color: rgb(0, 0, 0);*/
    background: rgba(0,0,0,.4);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#19000000, endColorstr=#19000000)";
    /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";*/
    /*filter: alpha(opacity=50);*/
    position: relative;
    z-index: 200;
    margin-top: -190px; /* negative value of footer height */

    clear: both;
}

.ie7 #main-footer {
    display:inline-block;
}

#main-footer .row {

    padding-bottom: 30px;
}

.footer-col1 {
    float:left;
    margin-right: 10px;
}

.footer-col2 {
    float:left;
}

.page-id-23 #content .row
{

    margin-top: 20px;
}

.page-id-23 #content ul
{
    list-style: none;
    padding: 0 0 10px 0;
}

.page-id-23 #content ul li
{
    margin: 0 0 5px 0;
}

.page-id-23 #content ul li:before
{
    background:transparent url(../images/wrench.png) bottom center no-repeat;
    content: 'wrench';
    display: inline-block;
    height: 16px;
    margin: 0 10px 0 0;
    width: 16px;
    text-indent: -5000px;
}

.ie7 #content ul{
    list-style: disc;
    padding-left: 20px;
}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {

    body {
        background-size: auto 100%;
    }

    img#bg {
        visibility:hidden;
    }
    
    h1
    {
        font-size: 1.9em;
        margin: 0 0 .5em 0;
        text-align: left;
    }
    
    h2
    {
        
    }
    
    h3
    {
        font-size: 1.2em;
    }
    
    body > #wrapper {
    	min-height: inherit;
    }
    
    #content
    {
        margin-top: 0;
        padding-bottom: 20px;
    }
    
    #content .content-bg {
    	padding-bottom: 0;
    }
    
    #main-footer {
    	margin-top: 0px;
	height: auto;
    }
    
    nav.menu-header
    {
        display: none;
    }
    
    nav.menu-header-mobile
    {
        display: block;
        z-index: 300;
    }
    
    nav.menu-header-mobile select
    {
        margin: 10px 0 20px 0;
        width: 100%;
    }
    
input[type="text"],
input[type="email"],
input[type="password"],
textarea
{
    border:1px solid rgba(0,0,0,.5);
    box-shadow: inset 0 2px 1px rgba(0,0,0,.1);
    font-size: .8em!important;
    padding: .5em .3em!important;
}

    #field_1_12
    {
        display: none;
    }
    
    #main-footer
    {
        text-align: center;
    }
}


/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) {

    /*	.logo {
         background: url(../images/logo2x.jpg) no-repeat;
         background-size: 212px 303px;
     }*/

}


/* ============================== */
/* ! Wordpress Core   */
/* ============================== */
h2 img.alignleft {
    margin: 0 10px 0 0;
}

.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;
}

.aligncenter {
    display: block;
    margin: 20px auto 10px auto;
}

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 {
    max-width: 96%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
