@font-face {
    font-family: 'titillium_weblight';
    src: url('fonts/titilliumweb-light-webfont.eot');
    src: url('fonts/titilliumweb-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/titilliumweb-light-webfont.woff') format('woff'),
         url('fonts/titilliumweb-light-webfont.ttf') format('truetype'),
         url('fonts/titilliumweb-light-webfont.svg#titillium_weblight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'titillium_webregular';
    src: url('fonts/titilliumweb-regular-webfont.eot');
    src: url('fonts/titilliumweb-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/titilliumweb-regular-webfont.woff') format('woff'),
         url('fonts/titilliumweb-regular-webfont.ttf') format('truetype'),
         url('fonts/titilliumweb-regular-webfont.svg#titillium_webregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'titillium_websemibold';
    src: url('fonts/titilliumweb-semibold-webfont.eot');
    src: url('fonts/titilliumweb-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/titilliumweb-semibold-webfont.woff') format('woff'),
         url('fonts/titilliumweb-semibold-webfont.ttf') format('truetype'),
         url('fonts/titilliumweb-semibold-webfont.svg#titillium_websemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* ==========================================================================
   Impression Design Base styles
   ========================================================================== */

html{
    background:url(../img/dini-construction-bg.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.wrapper {
  width: 960px;
 margin: 0 auto 0em;
 }
 
 header{
	 height: 361px;
	 width: 100%;
 }
 
 header h3{
	 font-family: titillium_webregular, Arial, Helvetica, sans-serif;
	 font-size:1em;
	 color:white;
	 display:inline;
 }
 
 section{
	 padding: 16px 32px 16px 32px;
	 background: white;
	 -moz-box-shadow:    0px 1px 15px 4px #000;
     -webkit-box-shadow: 0px 1px 15px 4px #000;
      box-shadow:        0px 1px 15px 4px #000;
	  min-height: 670px;
	  overflow:hidden;
 }
 
 p{	 
	 font-family: titillium_webregular, Arial, Helvetica, sans-serif;
	 font-size:1em;
	 color: #092D4C;
 }
 
 h1{
	 font-family: titillium_websemibold, Arial, Helvetica, sans-serif;
	 font-size:1.6em;
	 color: #092D4C;
	 line-height: 25px;
 }

 h2{
	 font-family: titillium_websemibold, Arial, Helvetica, sans-serif;
	 font-size:1.2em;
	 color: #092D4C;
 }
 
 aside{
	 float:right;
	 width: 240px;
	 height:auto;
	 padding: 24px;
	 border-left: 1px dotted #003;
 }

/* ==========================================================================
   Impression Design custom styles
   ========================================================================== */
#logo{
	position:absolute;
	z-index:99999999;
}

#headerTitle{
	position:absolute;
	text-align: right;
	margin-left: 597px;
	margin-top: 319px;
	z-index:9999;
	background: rgba(0,0,0,0.8);
	padding: 10px 20px 10px 20px;
	border-top-left-radius: 10px;
}

#sectionContent{
	width: 550px;
	float:left;
	padding-right: 48px;
	
}

#sectionContent ul li{
	font-family: titillium_webregular, Arial, Helvetica, sans-serif;
	 font-size:1em;
	 color: #092D4C;
	 list-style:square;
	}
	
	#sectionContent ul li a{
	 color: #092D4C;
	}

#homeImage img{
	-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px; /* future proofing */
-khtml-border-radius: 5px;
margin-bottom: 12px;
}

#contactForm ul{
	margin-left:-32px;	
}

#contactForm ul li{
	list-style:none;
	margin-bottom:8px;	
}



/* ==========================================================================
   NAV
   ========================================================================== */

nav{
	background: rgba(0,0,0,0.8);
	height:71px;
	width:100%;
	font-family: titillium_weblight, Helvetica, sans-serif;
	font-size:.9em;
}


nav ul{
	display:inline-block;
	margin-left: 235px;
}

nav ul li{
	float:left;
	list-style:none;
	margin-top: 12px;

}

nav ul li a{
	padding: 32px 10px 26px 10px;
	color: white;
	text-decoration: none;
}

nav ul li a:hover{
	background-image:url(../img/dini-construction-btn-bg.jpg)

}

body#home a#nav-home,
body#granite a#nav-granite,
body#roofing a#nav-roofing,
body#electrical a#nav-electrical,
body#tile a#nav-tile,
body#painting a#nav-painting,
body#uvgase a#nav-uvgase,
body#other a#nav-other,
body#contact a#nav-contact
{
background-image:url(../img/dini-construction-btn-bg.jpg)
} 


/* ==========================================================================
   Footer
   ========================================================================== */


footer{
	height: 160px;
	width: 100%;
	background: rgba(0, 0, 0, 0.8);
}

#footerLogo{
	position:absolute;
	margin-left: 32px;
	margin-top: 12px;
}

#footerLinks ul{
	display:inline-block;
	margin-left: 190px;
	margin-top: -0px;
}

#footerLinks ul li{
	float:left;
	list-style:none;
	margin-top: 12px;
	margin-right: 16px;
    font-family: titillium_weblight, Helvetica, sans-serif;
	font-size:0.9em;
}


#footerLinks ul li a{
	color: white;
	text-decoration: none;
}

#footerLinks ul li a:hover{
	color: #009DDB;
}

#copyright{
	margin-left: 230px;
	margin-top: -16px;
}

#copyright p{
	font-family: titillium_weblight, Helvetica, sans-serif;
	font-size:0.8em;
	color: white;
	
}

#copyright a{
	font-family: titillium_weblight, Helvetica, sans-serif;
	font-size:0.8em;
	color: white;
	
}


#workGuaranteed{
	position:absolute;
	margin-left: 230px;
	margin-top: -16px;
}

#workGuaranteed p{
	font-family: titillium_weblight, Helvetica, sans-serif;
	font-size:1.2em;
	color: white;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layour
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayour and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}
